/** Created by CUIJA on 05-19-2017.*/


module.exports = function ($stateProvider) {
    $stateProvider
        .state('acm', {
            // name: 'acm',
            url: '/acm',
            template: require('../components/navbar/navbar.html')
        })
        .state('acm.home', {
            // name: 'home',
            url: '/home',
            template: require('../views/home.html'),
            controller: 'homeController'
        })
        .state('acm.merchant', {
            // name: 'home',
            url: '/merchant',
            template: require('../views/merchant.html'),
            controller: 'merchantController'
        })
        .state('acm.merchant.passed', {
            // name: 'home',
            url: '/passed',
            template: require('../views/merchant_passed.html'),
            controller: 'merchantPassedController'
        })
        .state('acm.merchant.inprocess', {
            // name: 'home',
            url: '/inprocess',
            template: require('../views/merchant_inprocess.html'),
            controller: 'merchantInprocessController'
        })
        .state('acm.merchant.rejected', {
            // name: 'home',
            url: '/rejected',
            template: require('../views/merchant_rejected.html'),
            controller: 'merchantRejectedController'
        })
        .state({
            name: 'error',
            url: '/error',
            template: require('../views/error.html')
        });
};